package com.shaozi.nc.data.model;

import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Document;

import com.shaozi.data.mongo.model.ModelBase;

@Document(collection = "im_companyInfo")
public class CompanyInfoModel extends ModelBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4192698560871003945L;

	private String companyId;
	private String companyName;
	private String companyDomain;
	private Date createTime;
	private Long lastUpdateTime;
	private Integer isDel;
	private Long delTime;
	
//	private String company_id;
//	private String company_name;
//	private String company_domain;
//	private String last_update_time;
	
	public CompanyInfoModel() {

	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyDomain() {
		return companyDomain;
	}

	public void setCompanyDomain(String compDomain) {
		this.companyDomain = compDomain;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public long getLastUpdateTime() {
		return lastUpdateTime == null ? 0 : lastUpdateTime;
	}

	public void setLastUpdateTime(long lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompany_id() {
		return companyId;
	}

	public void setCompany_id(String company_id) {
		this.companyId = company_id;
	}

	public String getCompany_name() {
		return companyName;
	}

	public void setCompany_name(String company_name) {
		this.companyName = company_name;
	}

	public long getLast_update_time() {
		return lastUpdateTime;
	}

	public void setLast_update_time(long last_update_time) {
		this.lastUpdateTime = last_update_time;
	}

	public String getCompany_domain() {
		return companyDomain;
	}

	public void setCompany_domain(String company_domain) {
		this.companyDomain = company_domain;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Long getDelTime() {
		return delTime;
	}

	public void setDelTime(Long delTime) {
		this.delTime = delTime;
	}

}
